package org.apache.commons.logging;

public class LogFactory {

    /**
     * 返回命名记录器的便捷方法
     * @param clazz
     * @return
     */
    public static Log getLog(Class<?> clazz) {
        return getLog(clazz.getName());
    }


    public static Log getLog(String name){
        return LogAdapter.creatLog(name);
    }
}
